package com.example.choupaiapp.main.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by ASUS on 2019/11/21.
 */

public class MessageRemindBean implements Serializable {


    /**
     * msg : success
     * code : 0
     * page : {"totalCount":1,"pageSize":10,"totalPage":1,"currPage":1,"list":[{"id":1,"userId":1,"byUserId":2,"message":"关注了你","operation":1,"status":0,"contentId":null,"commentId":null,"module":null,"image":null,"createTime":"2019-11-18 16:52:01","nickname":"啦啦啦","avatar":"http://media.qmdl666.com/18888888888/VID201874152933.jpg"}]}
     */

    private String msg;
    private int code;
    private PageBean page;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public PageBean getPage() {
        return page;
    }

    public void setPage(PageBean page) {
        this.page = page;
    }

    public static class PageBean implements Serializable{
        /**
         * totalCount : 1
         * pageSize : 10
         * totalPage : 1
         * currPage : 1
         * list : [{"id":1,"userId":1,"byUserId":2,"message":"关注了你","operation":1,"status":0,"contentId":null,"commentId":null,"module":null,"image":null,"createTime":"2019-11-18 16:52:01","nickname":"啦啦啦","avatar":"http://media.qmdl666.com/18888888888/VID201874152933.jpg"}]
         */

        private int totalCount;
        private int pageSize;
        private int totalPage;
        private int currPage;
        private List<ListBean> list;

        public int getTotalCount() {
            return totalCount;
        }

        public void setTotalCount(int totalCount) {
            this.totalCount = totalCount;
        }

        public int getPageSize() {
            return pageSize;
        }

        public void setPageSize(int pageSize) {
            this.pageSize = pageSize;
        }

        public int getTotalPage() {
            return totalPage;
        }

        public void setTotalPage(int totalPage) {
            this.totalPage = totalPage;
        }

        public int getCurrPage() {
            return currPage;
        }

        public void setCurrPage(int currPage) {
            this.currPage = currPage;
        }

        public List<ListBean> getList() {
            return list;
        }

        public void setList(List<ListBean> list) {
            this.list = list;
        }

        public static class ListBean implements Serializable{
            /**
             * id : 1
             * userId : 1
             * byUserId : 2
             * message : 关注了你
             * operation : 1
             * status : 0
             * contentId : null
             * commentId : null
             * module : null
             * image : null
             * createTime : 2019-11-18 16:52:01
             * nickname : 啦啦啦
             * avatar : http://media.qmdl666.com/18888888888/VID201874152933.jpg
             */

            private int id;
            private int userId;
            private int byUserId;
            private String message;
            private int operation;
            private int status;
            private int contentId;
            private int commentId = -1;
            private int module;
            private String image;
            private String createTime;
            private String nickname;
            private String avatar;
            private int contentType;
            private int isAttention;
            private int anonymity;
            private int authorId;

            public int getAuthorId() {
                return authorId;
            }

            public void setAuthorId(int authorId) {
                this.authorId = authorId;
            }

            public int getAnonymity() {
                return anonymity;
            }

            public void setAnonymity(int anonymity) {
                this.anonymity = anonymity;
            }

            public int getContentType() {
                return contentType;
            }

            public void setContentType(int contentType) {
                this.contentType = contentType;
            }

            public int getIsAttention() {
                return isAttention;
            }

            public void setIsAttention(int isAttention) {
                this.isAttention = isAttention;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getUserId() {
                return userId;
            }

            public void setUserId(int userId) {
                this.userId = userId;
            }

            public int getByUserId() {
                return byUserId;
            }

            public void setByUserId(int byUserId) {
                this.byUserId = byUserId;
            }

            public String getMessage() {
                return message;
            }

            public void setMessage(String message) {
                this.message = message;
            }

            public int getOperation() {
                return operation;
            }

            public void setOperation(int operation) {
                this.operation = operation;
            }

            public int getStatus() {
                return status;
            }

            public void setStatus(int status) {
                this.status = status;
            }

            public int getContentId() {
                return contentId;
            }

            public void setContentId(int contentId) {
                this.contentId = contentId;
            }

            public int getCommentId() {
                return commentId;
            }

            public void setCommentId(int commentId) {
                this.commentId = commentId;
            }

            public int getModule() {
                return module;
            }

            public void setModule(int module) {
                this.module = module;
            }

            public String getImage() {
                return image;
            }

            public void setImage(String image) {
                this.image = image;
            }

            public String getCreateTime() {
                return createTime;
            }

            public void setCreateTime(String createTime) {
                this.createTime = createTime;
            }

            public String getNickname() {
                return nickname;
            }

            public void setNickname(String nickname) {
                this.nickname = nickname;
            }

            public String getAvatar() {
                return avatar;
            }

            public void setAvatar(String avatar) {
                this.avatar = avatar;
            }
        }
    }
}
